package com.lbIs.utils;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class SeckillOrderListener1 {

    @RabbitListener(queues = {"seckill.order.queue"})
    public void receiveMessage(Object message){
        System.out.println("监听到了:"+message);
    }
}
